/*
package com.heima.comment.controller.v1;

import com.heima.comment.service.WemediaCommentService;
import com.heima.model.comment.dtos.CommentOpenOrCloseDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/comment/manage")
public class WemediaCommentController {

    @Autowired
    WemediaCommentService wemediaCommentService;

    @PostMapping("update_comment_status")
    public ResponseResult OpenOrClose(CommentOpenOrCloseDto dto){
        return wemediaCommentService.OpenOrClose(dto);
    }
}
*/
